﻿<%@ Page Language="C#" MasterPageFile="~/PaginaInicio.master" AutoEventWireup="true" CodeFile="Presupuesto.aspx.cs" Inherits="Presupuesto" Title="Presupuesto" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style5
        {
            width: 549px;
        }
        
           
        .accordionCabecera
{

background-color: #118BD9;
font-family: Tahoma;
font-size: 12px;
font-weight: bold;
margin-bottom: 2px;
padding: 2px;
cursor: pointer;
Height: 20px;
color: #CCCCCC;

}


.accordionContenido
{
font-family: Tahoma;
background-color: #0085C6;
border: none;

border-top: none;
margin-bottom: 7px;
font-size: 12px;
padding: 3px;
}


        .tablaEncabezado
        {
            color: #FFFFFF;
            height: 15px;
            font-family: Tahoma;
            font-size: medium;
            background-color: #C62D73;
            font-size: small;
            
        }
        
        .style10
        {
            border: medium solid #0085C6;
            width: 228px;
            color: #CCCCCC;
            font-size: small;
            font-family: Tahoma;
            margin-left: 0px;
            margin-right: 0px;
            margin-top: 0px;
        }
        
                .style27
        {
            color: #FFFFFF;
            height: 23px;
            font-family: Tahoma;
            font-size: medium;
        }
        .style62
        {
            width: 438px;
            text-align: right;
        }
        .style63
        {
            width: 197px;
            text-align: left;
            margin-left: 80px;
        }
        .style64
        {
            width: 1px;
        }
        .stylePopUp
    {
        background-color: #C62D73;
        font-family: Tahoma;
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 3px;
        margin-top: 3px;
        padding: 3px;
        cursor: pointer;
        Height: 20px;
        color: #CCCCCC;
        text-align: left;
    }
            
        
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
    <table style="width: 100%;" cellspacing="-1">
        <tr>
            <td>
                &nbsp;
            </td>
            <td class="style5">
                <asp:Panel ID="Panel1" runat="server" Height="100%"  
                        Width="560px">
                
                    <table style="width: 100%;" cellpadding="-1" cellspacing="-1">
                        <tr>
                            <td bgcolor="#C62D73" class="style27" 
                             
                                style="border-bottom-color: #000000; border-bottom-width: medium; border-bottom-style: solid;" 
                                colspan="2">
                                 PRESUPUESTO</td>
                        </tr>
                        <tr>
                            <td colspan="2" bgcolor="#00334C" style="text-align: center">
                                <table style="width: 98%; margin-left: 5px; margin-right:10px; margin-bottom:5px; margin-top:5px; height: 561px;" 
                                    bgcolor="#00547D" cellpadding="-1" cellspacing="4">
                                    <tr>
                                        <td class="style63">
                                            <asp:DropDownList ID="ddlTipoEvento" runat="server" Width="200px" 
                                        style="font-family: Tahoma" BackColor="#0085C6" CssClass="style10" 
                                        Font-Names="Tahoma" ForeColor="#CCCCCC" 
                                        DataTextField="tEve_Nombre" DataValueField="tEve_Id" 
                                        ToolTip="Seleccione un Tipo de Evento" 
                                        AppendDataBoundItems="True" 
                                                onselectedindexchanged="ddlTipoEvento_SelectedIndexChanged" >
                                        <asp:ListItem Value="TipoEvento">Tipo de evento</asp:ListItem>
                                    </asp:DropDownList></td>
                                      
                                      
                                      
                                        <td class="style64" rowspan="10">
                                            <img alt="" src="Imagenes/linea%20vertical.png" 
                                                style="width: 1px; height: 500px" /></td>
                                        <td rowspan="10" valign="top">
                                            
                                            
                                            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                       <ContentTemplate>
                                       <cc1:Accordion ID="Accordion1" runat="server"  
                                        FadeTransitions="True" FramesPerSecond="50" TransitionDuration="200"
                                        HeaderCssClass="accordionCabecera"
                                        ContentCssClass="accordionContenido" BorderColor="#00547D" style="color: #CCCCCC">
                                        <Panes>
                                           <cc1:AccordionPane ID="AccordionPane5" runat="server">
                                                <Header>Opción 1</Header>
                                                <Content> 
                                                        <asp:GridView ID="GVMenu01" runat="server" ShowHeader ="False" 
                                                        GridLines = "None"  CellSpacing ="5" CellPadding="2" Width="95%" 
                                                         AutoGenerateColumns="False">
                                                    <Columns>
                                                        <asp:BoundField DataField="Tipo_De_Alimento" HeaderText="tipo">
                                                            <ItemStyle Font-Bold="True" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Nombre" HeaderText="nombre" />
                                                        
                                                        <asp:BoundField DataField="Descripcion" HeaderText="desc" />
                                                        
                                                    </Columns>
                                                    </asp:GridView>                                    
                                                </Content>
                                            </cc1:AccordionPane>
                                            <cc1:AccordionPane ID="AccordionPane6" runat="server" >
                                                <Header>Opción 2</Header>
                                                <Content>
                                                   <asp:GridView ID="GVMenu02" runat="server" ShowHeader ="False" 
                                                        GridLines = "None"  CellSpacing ="5" CellPadding="2" Width="95%"
                                                         AutoGenerateColumns="False">
                                                    <Columns>
                                                        <asp:BoundField DataField="Tipo_De_Alimento" HeaderText="tipo">
                                                            <ItemStyle Font-Bold="True" Width="65px" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Nombre" HeaderText="nombre" />
                                                        <asp:BoundField DataField="Descripcion" HeaderText="desc" />
                                                    </Columns>
                                                    </asp:GridView> 
                                                </Content>
                                            </cc1:AccordionPane>
                                            <cc1:AccordionPane ID="AccordionPane7" runat="server">
                                                <Header>Opción 3</Header>
                                                <Content>
                                                   <asp:GridView ID="GVMenu03" runat="server" ShowHeader ="False" 
                                                        GridLines = "None"  CellSpacing ="5" CellPadding="2" Width="95%"
                                                         AutoGenerateColumns="False">
                                                    <Columns>
                                                        <asp:BoundField DataField="Tipo_De_Alimento" HeaderText="tipo">
                                                            <ItemStyle Font-Bold="True" />
                                                        </asp:BoundField>
                                                        <asp:BoundField DataField="Nombre" HeaderText="nombre" />
                                                        <asp:BoundField DataField="Descripcion" HeaderText="desc" />
                                                    </Columns>
                                                    </asp:GridView> 
                                                </Content>
                                            </cc1:AccordionPane> 
                                             <cc1:AccordionPane ID="AccordionPane1" runat="server">
                                                <Header>Salón</Header>
                                                <Content> 
                                                    <table id= "SalonTable" runat="server">
                                                        <tr >
                                                            <td align ="left">
                                                                <asp:Label ID="lblSalonNombre" runat="server" Text="- Nombre -" Width="100%" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="Label1" runat="server" Text="Capacidad: " Font-Bold="true"></asp:Label>
                                                                <asp:Label ID="lblSalonCapacidad" runat="server" Text="Label"></asp:Label>
                                                                <asp:Label ID="Label3" runat="server" Text=" personas"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="Label2" runat="server" Text="Dirección:" Font-Bold="true"></asp:Label>
                                                                <br />
                                                                <asp:Label ID="lblSalonDireccion" runat="server" Text="Label" Width="100%"></asp:Label>
                                                                <br />
                                                                <br />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td align ="center">
                                                                <asp:Image ID="imgSalon" runat="server" Height="200" Width="300" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </Content>
                                            </cc1:AccordionPane>
                                        </Panes>
                                     
                                        
                                     
                                      
                                     
                                    </cc1:Accordion>
                                    </ContentTemplate>
                                           <Triggers>
                                               <asp:AsyncPostBackTrigger ControlID="ddlMenu1" 
                                                   EventName="SelectedIndexChanged" />
                                               <asp:AsyncPostBackTrigger ControlID="ddlMenu2" 
                                                   EventName="SelectedIndexChanged" />
                                               <asp:AsyncPostBackTrigger ControlID="ddlMenu3" 
                                                   EventName="SelectedIndexChanged" />
                                               <asp:AsyncPostBackTrigger ControlID="ddlSalon" 
                                                   EventName="SelectedIndexChanged" />
                                           </Triggers>
                                    </asp:UpdatePanel> 
                                            
                                            
                                            
                                            </td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:DropDownList ID="ddlMenu1" runat="server" Width="200px" 
                                        BackColor="#0085C6" ForeColor="#CCCCCC" SkinID="2" style="font-family: Tahoma" 
                                        CssClass="style10" DataValueField="tMenu_Nombre" 
                                        AppendDataBoundItems="True" 
                                        onselectedindexchanged="ddlMenu1_SelectedIndexChanged" 
                                        AutoPostBack="True" ToolTip="Seleccione una opción de menú" >
                                        
                                        
                                        
                                        <asp:ListItem Value="Menu1">Menú Opcion 1</asp:ListItem>
                                        
                                        
                                        
                                    </asp:DropDownList></td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlMenu2" runat="server" AppendDataBoundItems="True" 
                                                BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                                style="font-family: Tahoma" Width="200px" 
                                                onselectedindexchanged="ddlMenu2_SelectedIndexChanged" AutoPostBack="True" 
                                                Enabled="False" ToolTip="Seleccione una opción de menú">
                                                <asp:ListItem>Menú Opción 2</asp:ListItem>
                                            </asp:DropDownList>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:AsyncPostBackTrigger ControlID="ddlMenu1" 
                                                EventName="SelectedIndexChanged" />
                                        </Triggers>
                                    </asp:UpdatePanel></td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                        <ContentTemplate>
                                            <asp:DropDownList ID="ddlMenu3" runat="server" AppendDataBoundItems="True" 
                                                BackColor="#0085C6" CssClass="style10" ForeColor="#CCCCCC" 
                                                style="font-family: Tahoma" Width="200px" AutoPostBack="True" 
                                                Enabled="False" onselectedindexchanged="ddlMenu3_SelectedIndexChanged" 
                                                ToolTip="Seleccione una opción de menú">
                                                <asp:ListItem>Menú Opción 3</asp:ListItem>
                                            </asp:DropDownList>
                                        </ContentTemplate>
                                    </asp:UpdatePanel></td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:Label ID="Label13" runat="server" Text="Bebidas:" Width="200px" 
                                                style="font-family: Tahoma; font-size: small; color: #CCCCCC"></asp:Label>
                                    
                                    <asp:CheckBoxList ID="cblBebidas" runat="server" 
                                        BackColor="#00547D" BorderStyle="None" ForeColor="#CCCCCC" 
                                        style="font-size: small; font-family: Tahoma; color: #CCCCCC; text-align: right;" 
                                        TextAlign="Left" Width="200px">
                                    </asp:CheckBoxList></td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                             <asp:Label ID="Label12" runat="server" Text="Servicios Adicionales:" 
                                        Width="200px" style="font-size: small; color: #CCCCCC; font-family: Tahoma"></asp:Label>
                                    <asp:CheckBoxList ID="cblServiciosAdicionales" runat="server" 
                                        BackColor="#00547D" BorderStyle="None" ForeColor="#CCCCCC" 
                                        style="font-size: small; font-family: Tahoma; color: #CCCCCC; text-align: right;" 
                                        TextAlign="Left" Width="200px">
                                    </asp:CheckBoxList></td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:TextBox ID="txtFecha" runat="server" BackColor="#0085C6" 
                                                BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                                Height="20px" Width="200px"></asp:TextBox>
                                            <cc1:CalendarExtender ID="txtFecha_CalendarExtender" runat="server" 
                                                Enabled="True" TargetControlID="txtFecha" Format="d/MM/yyyy">
                                            </cc1:CalendarExtender>
                                            <cc1:TextBoxWatermarkExtender ID="txtFecha_TextBoxWatermarkExtender" 
                                                runat="server" TargetControlID="txtFecha" WatermarkText="Fecha del Evento">
                                            </cc1:TextBoxWatermarkExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                             <asp:DropDownList ID="ddlSalon" runat="server" AppendDataBoundItems="True" 
                                                 BackColor="#0085C6" CssClass="style10" 
                                                 style="font-family: Tahoma; height: 26px; font-style: italic;" 
                                                 Width="200px" onselectedindexchanged="ddlSalon_SelectedIndexChanged" 
                                                 AutoPostBack="True">
                                                 <asp:ListItem Value="Salon">Salón</asp:ListItem>
                                             </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            <asp:TextBox ID="txtCantInvitados" runat="server" BackColor="#0085C6" 
                                                BorderStyle="None" BorderWidth="0px" Font-Italic="True" ForeColor="#CCCCCC" 
                                                Height="20px" Width="200px"></asp:TextBox>
                                            <cc1:FilteredTextBoxExtender ID="txtCantInvitados_FilteredTextBoxExtender" 
                                                runat="server" Enabled="True" FilterType="Numbers" 
                                                TargetControlID="txtCantInvitados">
                                            </cc1:FilteredTextBoxExtender>
                                            <cc1:TextBoxWatermarkExtender ID="txtCantInvitados_TextBoxWatermarkExtender" 
                                                runat="server" TargetControlID="txtCantInvitados" 
                                                WatermarkText="Cantidad de Invitados">
                                            </cc1:TextBoxWatermarkExtender>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="style63">
                                            
                                             <asp:TextBox ID="tbxComentario" runat="server" 
    BackColor="#0085C6" BorderStyle="None" BorderWidth="0px" Height="70px" 
    Width="200px" Font-Size="Small" ForeColor="#CCCCCC" style="font-family: Tahoma" TextMode="MultiLine"></asp:TextBox>
                                    
                                    
                                                               
                                 <cc1:TextBoxWatermarkExtender ID="tbxComentario_TextBoxWatermarkExtender" 
    runat="server" TargetControlID="tbxComentario" WatermarkText="Comentario">
</cc1:TextBoxWatermarkExtender></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td class="style62" bgcolor="#00334C" style="border-top-color: #000000; border-top-width: medium; border-top-style: solid;">
                                <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                                    <ContentTemplate>
                                        <asp:Label ID="lblMensaje" runat="server" ForeColor="Maroon" 
                                            style="color: #FF3300"></asp:Label>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="btnEnviar" EventName="Command" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                            <td bgcolor="#00334C" style="text-align: right; border-top-color: #000000; border-top-width: medium; border-top-style: solid;">
                               <span>
                                <asp:Button ID="btnEnviar" runat="server" BackColor="#0085C6" 
                                    BorderStyle="None" Font-Bold="True" Font-Italic="False" ForeColor="#CCCCCC" 
                                    Height="23px" onclick="btnEnviar_Click" style="margin-top: 0px" Text="Enviar" 
                                    ValidationGroup="1" Width="54px" ToolTip="Enviar Presupuesto" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                               
                               </td>
                        </tr>
                    </table>
                
                
                </asp:Panel>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        
        
        
        
        
        </table>

</asp:Content>

